package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Authorizations;
import pcjavanet.mobilesell.model.AuthorizationsExample;
import pcjavanet.mobilesell.model.PageBean;

public interface AuthorizationsMapper {
    int countByExample(AuthorizationsExample example);

    int deleteByExample(AuthorizationsExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Authorizations record);

    int insertSelective(Authorizations record);

    List<Authorizations> selectByExample(AuthorizationsExample example);

    Authorizations selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Authorizations record, @Param("example") AuthorizationsExample example);

    int updateByExample(@Param("record") Authorizations record, @Param("example") AuthorizationsExample example);

    int updateByPrimaryKeySelective(Authorizations record);

    int updateByPrimaryKey(Authorizations record);

    List<Authorizations> getOnePageBeans(@Param("example") AuthorizationsExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") AuthorizationsExample example, @Param("pageBean") PageBean pageBean);

    List<Authorizations> selectByExamplePage(@Param("example") AuthorizationsExample example, @Param("pageBean") PageBean pageBean);
}